<?php
	$group = $model->getGroup($option['group_id']);
	if(!$group) return;
?>

<ul class="nav navbar-nav">
	<?php foreach($group->menus as $menu): ?>
		<li><a<?php if($menu->target) echo ' method="'.$menu->target.'"' ?> href="<?= ($menu->uri? siteUrl($menu->uri) : $menu->url) ?>"><?= $menu->title ?></a></li>
	<?php endforeach ?>
</ul>